![]() |
UpTime |
||||
Header: | Multiprocessing.h | Carbon status: | Supported | |
Obtains the time elapsed since machine startup.
AbsoluteTime UpTime ();
The time elapsed since the host computer was started up. Absolute time is a 64-bit monotonically increasing value. You should not make any assumptions about what units absolute time is based upon.
You can call this function from the task level, software interrupt level, or hardware interrupt level.
This function is identical to the UpTime function found in the Driver Services Library.
Available in the Multiprocessing Services library with version 2.0.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.6 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)